<%@page import="com.jsp.study.bean.Email"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>结果显示</title>
</head>
<body>
	<%
		String email = request.getParameter("email");
		if (email != null && email.trim().length() > 0) {
			Email email2 = new Email(email);
			if (email2.isEmail()) {
				out.println(email + ":是一个标准的邮箱地址！");
			} else {
				out.println(email + ":不是一个标准的邮箱地址！");
			}
		} else {
			out.println("未填写邮箱地址");
		}
	%>
</body>
</html>